﻿using System;
using System.Collections.Generic;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace WeChat.CMS.OrganizationUnits
{
    public  class OrganizationUnitTreeDto : EntityDto
    {
        public OrganizationUnitTreeDto()
        {
            Child = new List<OrganizationUnitTreeDto>();
        }
        public Guid Id { get; set; }
        public Guid? ParentId { get; set; }
        public string DisplayName { get; set; }
        public bool IsCommunity { get; set; } = false;
        public int UserInOrgCount { get; set; } = 0;
        public List<OrganizationUnitTreeDto> Child { get; set; }
    }
}
